// @ts-ignore
import {go} from 'bindings_main.js'
//@ts-ignore
const server = window.go.main.AppServer
//@ts-ignore
const wins = wails.Window

export const ConnPhone = async (alwaysTop: Boolean, alwaysWalk: Boolean) => {
    await server.ConnPhone(alwaysTop, alwaysWalk)
}
export const Msg = async (title: String, msg: String) => {
    await server.Msg(title, msg)
}
export const InstallApk = async () => {
    await server.InstallApk()
}

export const UnInstallApk = async () => {
    await server.UnInstallApk()
}
export const hideWindow =  () => {
     wins.Hide()
}


